<script>
var htmlString = $('body').html().toString();
var index = htmlString.indexOf("main-hosting.com");
if (index != -1)$("body").html($("body").html().replace(/main-hosting.com/,'YourDomain.com'));
</script>